const mainChildren = [
    {
        path: "/mechanism/work",
        component: () => import('../pages/mechanism/work.vue'),
        meta: { title: "工作台" },
    },
    {
        path: "/mechanism/material",
        component: () => import('../pages/mechanism/material.vue'),
        meta: { title: "机构资料" },
    }

    ,{
        path: "/mechanism/policy",
        component: () => import('../pages/mechanism/policy/list.vue'),
        meta: { title: "金融政策", keepAlive:true },
        children: [
            {
                path: "",
                component: () => import('../pages/mechanism/policy/edit.vue'),
                meta: { title: "金融政策维护" }
            }
        ]
    }
    
    ,{
        path: "/mechanism/docking",
        component: () => import('../pages/mechanism/docking/list.vue'),
        meta: { title: "企业融资信息列表", keepAlive:true },
        children: [
            {
                path: "",
                component: () => import('../pages/mechanism/docking/detail.vue'),
                meta: { title: "企业融资信息查看" }
            }
        ]
    },{
        path: "/mechanism/banking",
        component: () => import('../pages/mechanism/banking/list.vue'),
        meta: { title: "金融产品信息列表", keepAlive:true },
        children: [
            {
                path: "",
                // component: () => import('../pages/mechanism/banking/edit.vue'),
                components:{
                    default: () => import('../pages/mechanism/banking/edit.vue'),
                    company: () => import('../pages/mechanism/banking/company.vue'),
                },
                meta: { title: "金融产品信息维护" }
            }
        ]
    }
    ,{
        path: "/mechanism/insurance",
        component: () => import('../pages/mechanism/insurance/list.vue'),
        meta: { title: "保险产品信息列表", keepAlive:true },
        children: [
            {
                path: "",
                // component: () => import('../pages/mechanism/insurance/edit.vue'),
                components:{
                    default: () => import('../pages/mechanism/insurance/edit.vue'),
                    company: () => import('../pages/mechanism/insurance/company.vue'),
                },
                meta: { title: "保险产品信息维护" }
            }
        ]
    },{
        path: "/mechanism/subject",
        component: () => import('../pages/mechanism/subject/index.vue'),
        meta: { title: "培训题库", keepAlive:true },
    },
    
    // ,{
    //     path: "/mechanism/subject",
    //     component: () => import('../pages/mechanism/subject/list.vue'),
    //     meta: { title: "培训题库", keepAlive:true },
    //     children: [
    //         {
    //             path: "",
    //             component: () => import('../pages/mechanism/subject/edit.vue'),
    //             meta: { title: "培训题库维护" }
    //         }
    //     ]
    // },
    {
        path: "/mechanism/paper",
        component: () => import('../pages/mechanism/paper/list.vue'),
        meta: { title: "培训试卷", keepAlive:true },
        children: [
            {
                path: "",
                component: () => import('../pages/mechanism/paper/edit.vue'),
                meta: { title: "培训试卷维护" }
            }
        ]
    },{
        path: "/mechanism/paper_statistics",
        component: () => import('../pages/mechanism/paper_statistics/list.vue'),
        meta: { title: "培训试卷统计", keepAlive:true },
        children: [
            {
                path: "",
                component: () => import('../pages/mechanism/paper_statistics/edit.vue'),
                meta: { title: "试卷统计" }
            }
        ]
    },{
        path: "/mechanism/video",
        component: () => import('../pages/mechanism/video/list.vue'),
        meta: { title: "视频课程", keepAlive:true },
    },{
        path: "/mechanism/train",
        component: () => import('../pages/mechanism/train/list.vue'),
        meta: { title: "培训课程", keepAlive:true },
    }
    
    ,{
        path: "/mechanism/news",
        component: () => import('../pages/mechanism/news/list.vue'),
        meta: { title: "平台信息管理", keepAlive:true },
        children: [
            {
                path: "",
                component: () => import('../pages/mechanism/news/edit.vue'),
                meta: { title: "平台信息维护" }
            }
        ]
    }
]

export default mainChildren